package com.lnyt.pojo.weixin;

import com.lnyt.util.CdataAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * 类名: ResMusic </br>
 * 描述: 音乐model </br>
 * 开发人员： souvc </br>
 * 创建时间：  2015-9-30 </br>
 * 发布版本：V1.0  </br>
 */
@XmlRootElement()
@XmlAccessorType(XmlAccessType.FIELD)
public class ResMusic {
    // 音乐标题
    @XmlJavaTypeAdapter(CdataAdapter.class)
    private String Title;

    // 音乐描述
    @XmlJavaTypeAdapter(CdataAdapter.class)
    private String Description;

    // 音乐链接
    @XmlJavaTypeAdapter(CdataAdapter.class)
    private String MusicUrl;

    // 高质量音乐链接，WIFI环境优先使用该链接播放音乐
    @XmlJavaTypeAdapter(CdataAdapter.class)
    private String HQMusicUrl;

    // 缩略图的媒体id，通过上传多媒体文件得到的id
    @XmlJavaTypeAdapter(CdataAdapter.class)
    private String ThumbMediaId;


    public String getTitle() {
        return Title;
    }
    public void setTitle(String title) {
        Title = title;
    }

    public String getDescription() {
        return Description;
    }
    public void setDescription(String description) {
        Description = description;
    }

    public String getMusicUrl() {
        return MusicUrl;
    }
    public void setMusicUrl(String musicUrl) {
        MusicUrl = musicUrl;
    }

    public String getHQMusicUrl() {
        return HQMusicUrl;
    }
    public void setHQMusicUrl(String musicUrl) {
        HQMusicUrl = musicUrl;
    }

    public String getThumbMediaId() {
        return ThumbMediaId;
    }
    public void setThumbMediaId(String thumbMediaId) {
        ThumbMediaId = thumbMediaId;
    }
}